﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Matrix_network.Code.EntityClasses
{
    public class MessageInfo
    {
        private string _from;
        private string _to;
        private DateTime _time;
        private string _message;
        private int _id;
        private int _fromId;
        private int _toId;
        private int _avaId;

        public MessageInfo()
        {

        }

        public int avaId
        {
            get { return _avaId; }
            set { _avaId = value; }
        }

        public string from
        {
            get { return _from; }
            set { _from = value; }
        }

        public string to
        {
            get { return _to; }
            set { _to = value; }
        }

        public DateTime time
        {
            get { return _time; }
            set { _time = value; }
        }
        public string message
        {
            get { return _message; }
            set { _message = value; }
        }

        public int id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int fromId
        {
            get { return _fromId; }
            set { _fromId = value; }
        }

        public int toId
        {
            get { return _toId; }
            set { _toId = value; }
        }

    }
}